<div class="panel panel-default panel-intro">

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <a href="javascript:;" class="btn btn-default" style="font-size:15px;color:#0009ff;">
                            <span class="extend">
                                    订单总数：<span id="zcountnum">0</span>
                                    |销售金额：<span id="zsum">0</span>
                                    |原始金额：<span id="ytotalnum">0</span>
                            </span>
                        </a>
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('feditionordershoplaza/edit')}" 
                           data-operate-del=""
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
<script id="customformtpl" type="text/html">
    <!--form表单必须添加form-commsearch这个类-->
    <form class="form-horizontal form-commonsearch nice-validator n-default n-bootstrap" novalidate="" method="post"
          action="">
        <fieldset>
            <div class="row">
                <input type="hidden" id="js_accounturl_type" value="">
                <input type="hidden" id="js_accounturl_status" value="">
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                    <label class="control-label col-xs-4">店铺类型</label>
                    <div class="col-xs-8">
                        <input type="hidden" class="form-control operate" value="=" readonly="">
                        <select class="form-control" id="accounturl_type">
                            <option value="">全部</option>
                            <option value="shopify">Shopify</option>
                            <option value="Shoplaza">Shoplaza</option>
                        </select></div>
                </div>
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                    <label class="control-label col-xs-4">店铺状态</label>
                    <div class="col-xs-8">
                        <input type="hidden" class="form-control operate" value="=" readonly="">
                        <select class="form-control" id="accounturl_status">
                                <option value="">全部</option>
                                <option value="normal">正常</option>
                                <option value="unavailable">已报警下线</option>
                            </select>
                    </div>
                </div>
                <!--<div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3"><label for="admin_id"-->
                                                                                    <!--class="control-label col-xs-4">店铺管理者</label>-->

                    <!--<div class="col-xs-8"><input type="hidden" class="form-control operate" name="admin_id-operate"-->
                                                 <!--data-name="admin_id" value="=" readonly="">-->

                        <!--<div class="sp_container" style="width: 100%;"><input type="text"-->
                                                                              <!--class="form-control selectpage sp_input"-->
                                                                              <!--name="admin_id_text" value=""-->
                                                                              <!--placeholder="店铺管理者" id="admin_id_text"-->
                                                                              <!--data-index="5"-->
                                                                              <!--data-source="auth/admin/index"-->
                                                                              <!--data-field="nickname"-->
                                                                              <!--autocomplete="off"><input type="hidden"-->
                                                                                                        <!--class="sp_hidden"-->
                                                                                                        <!--name="admin_id"-->
                                                                                                        <!--id="admin_id"-->
                                                                                                        <!--value="">-->

                            <!--<div class="sp_button" title="关闭 (Tab键)"><span class="sp_caret"></span></div>-->
                        <!--</div>-->
                    <!--</div>-->
                <!--</div>-->

                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3"><label for="accounturl"
                                                                                    class="control-label col-xs-4">店铺名称</label>

                    <div class="col-xs-8"><input type="hidden" class="form-control operate" name="accounturl-operate"
                                                 data-name="accounturl" value="=" readonly="">

                        <!--data-max-select-limit="50"-->
                        <!--data-multiple="true"-->
                        <div class="sp_container" style="width: 100%;"><input type="text"
                                                                              class="form-control selectpage sp_input"
                                                                              name="accounturl_text" value=""
                                                                              placeholder="店铺名称" id="accounturl_text"
                                                                              data-index="2"
                                                                              data-primary-key="id"
                                                                              data-source="feditionaccounturl/index"
                                                                              data-field="name"
                                                                              autocomplete="off"><input type="hidden"
                                                                                                        class="sp_hidden"
                                                                                                        name="accounturl"
                                                                                                        id="accounturl"
                                                                                                        value="">
                        </div>
                    </div>
                </div>
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3"><label for="id"
                                                                                    class="control-label col-xs-4">订单ID</label>

                    <div class="col-xs-8"><input type="hidden" class="form-control operate" name="id-operate"
                                                 data-name="id" value="LIKE" readonly=""><input type="text"
                                                                                                class="form-control"
                                                                                                name="id" value=""
                                                                                                placeholder="订单ID"
                                                                                                id="id" data-index="1">
                    </div>
                </div>
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3"><label for="created_at"
                                                                                    class="control-label col-xs-4">订单添加时间</label>

                    <div class="col-xs-8"><input type="hidden" class="form-control operate" name="created_at-operate"
                                                 data-name="created_at" value="RANGE" readonly=""><input type="text"
                                                                                                         class="form-control datetimerange"
                                                                                                         name="created_at"
                                                                                                         value=""
                                                                                                         placeholder="订单添加时间"
                                                                                                         id="created_at"
                                                                                                         data-index="5"
                                                                                                         autocomplete="off">
                    </div>
                </div>
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3"><label for="updated_at"
                                                                                    class="control-label col-xs-4">订单修改时间</label>

                    <div class="col-xs-8"><input type="hidden" class="form-control operate" name="updated_at-operate"
                                                 data-name="updated_at" value="RANGE" readonly=""><input type="text"
                                                                                                         class="form-control datetimerange"
                                                                                                         name="updated_at"
                                                                                                         value=""
                                                                                                         placeholder="订单修改时间"
                                                                                                         id="updated_at"
                                                                                                         data-index="6"
                                                                                                         autocomplete="off">
                    </div>
                </div>
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3"><label for="transaction_no"
                                                                                    class="control-label col-xs-4">支付订单号</label>

                    <div class="col-xs-8"><input type="hidden" class="form-control operate"
                                                 name="transaction_no-operate" data-name="transaction_no" value="LIKE"
                                                 readonly=""><input type="text" class="form-control"
                                                                    name="transaction_no" value="" placeholder="支付订单号"
                                                                    id="transaction_no" data-index="10"></div>
                </div>
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3"><label for="quantityp_title"
                                                                                    class="control-label col-xs-4">部分商品名称</label>

                    <div class="col-xs-8"><input type="hidden" class="form-control operate"
                                                 name="quantityp_title-operate" data-name="quantityp_title" value="LIKE"
                                                 readonly=""><input type="text" class="form-control"
                                                                    name="quantityp_title" value="" placeholder="部分商品名称"
                                                                    id="quantityp_title" data-index="11"></div>
                </div>
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3"><label for="email"
                                                                                    class="control-label col-xs-4">邮箱</label>

                    <div class="col-xs-8"><input type="hidden" class="form-control operate" name="email-operate"
                                                 data-name="email" value="LIKE" readonly=""><input type="text"
                                                                                                   class="form-control"
                                                                                                   name="email" value=""
                                                                                                   placeholder="邮箱"
                                                                                                   id="email"
                                                                                                   data-index="12">
                    </div>
                </div>
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3"><label for="shipping_name"
                                                                                    class="control-label col-xs-4">购买人姓名</label>

                    <div class="col-xs-8"><input type="hidden" class="form-control operate" name="shipping_name-operate"
                                                 data-name="shipping_name" value="LIKE" readonly=""><input type="text"
                                                                                                           class="form-control"
                                                                                                           name="shipping_name"
                                                                                                           value=""
                                                                                                           placeholder="购买人姓名"
                                                                                                           id="shipping_name"
                                                                                                           data-index="13">
                    </div>
                </div>
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3"><label for="phone"
                                                                                    class="control-label col-xs-4">联系方式</label>

                    <div class="col-xs-8"><input type="hidden" class="form-control operate" name="phone-operate"
                                                 data-name="phone" value="LIKE" readonly=""><input type="text"
                                                                                                   class="form-control"
                                                                                                   name="phone" value=""
                                                                                                   placeholder="联系方式"
                                                                                                   id="phone"
                                                                                                   data-index="14">
                    </div>
                </div>
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3"><label for="order_status"
                                                                                    class="control-label col-xs-4">订单状态</label>

                    <div class="col-xs-8"><input type="hidden" class="form-control operate" name="order_status-operate"
                                                 data-name="order_status" value="=" readonly=""><select
                            class="form-control" name="order_status">
                        <option value="">选择</option>
                        <option value="opened">未完成</option>
                        <option value="placed">进行中</option>
                        <option value="finished">已完成</option>
                        <option value="cancelled">取消</option>
                    </select></div>
                </div>
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3"><label
                                                                                    class="control-label col-xs-4">财务状况</label>

                    <div class="col-xs-8"><input type="hidden" class="form-control operate"
                                                 name="financial_status-operate" data-name="financial_status" value="="
                                                 readonly=""><select class="form-control" name="financial_status">
                        <option value="">选择</option>
                        <option value="paid">已支付</option>
                        <option value="refunded">已退款</option>
                        <option value="partially_refunded">部分退款</option>
                        <option value="paying">正在支付</option>
                        <option value="failed">失败</option>
                        <option value="waiting">待付款</option>
                        <option value="refunding">退款中</option>
                        <option value="cancelled">取消</option>
                        <option value="refund_failed">退款失败</option>
                    </select></div>
                </div>
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3"><label
                                                                                    class="control-label col-xs-4">发货状态</label>

                    <div class="col-xs-8"><input type="hidden" class="form-control operate"
                                                 name="fulfillment_status-operate" data-name="fulfillment_status"
                                                 value="=" readonly=""><select class="form-control"
                                                                               name="fulfillment_status">
                        <option value="">选择</option>
                        <option value="finished">已发货</option>
                        <option value="returning">未发货</option>
                        <option value="partially_shipped">部分发货</option>
                        <option value="returned">未完成</option>
                        <option value="shipped">装货</option>
                        <option value="initialled">草签</option>
                        <option value="waiting">待发货</option>
                    </select></div>
                </div>
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3"><label
                                                                                    class="control-label col-xs-4">售后状态</label>

                    <div class="col-xs-8"><input type="hidden" class="form-control operate" name="refund_status-operate"
                                                 data-name="refund_status" value="=" readonly=""><select
                            class="form-control" name="refund_status">
                        <option value="">选择</option>
                        <option value="none">售后待处理</option>
                        <option value="general">部分退款</option>
                        <option value="customize">售后处理中</option>
                        <option value="" selected="">暂无</option>
                    </select></div>
                </div>
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                    <div class="col-sm-8 col-xs-offset-4">
                        <button type="submit" class="btn btn-success" formnovalidate="">提交</button>
                        <button type="reset" class="btn btn-default">重置</button>
                    </div>
                </div>
            </div>
        </fieldset>
    </form>


</script>